<?php 
$sql = "SELECT
				c.photographers_id,
				c.image,
				c.order_number,
				
				d.title,
				d.description
				
			FROM
				photographers AS c,
				photographers_description AS d
			WHERE
			
				c.photographers_id = d.photographers_id
				
				AND
				
				d.lang_id = '".$_SESSION['lang_id']."'
				
				AND c.published
				AND
			    c.photographers_id = '".$sef_url."' 
			
		  ";
$result = query($sql);
$row = mysql_fetch_object($result);


head(__PHOTOGRAPHER.' '.sth($row->title),text_format(strip_tags($row->description), 160),sth($row->meta_key));

?>

	<div id="topicons">
		<a class="icon home" href="<?=HTML_BASE?>"><span><?=__HOME?></span></a>
		<a class="icon about" href="<?=HTML_BASE.$_SESSION['lang']?>/about"><span><?=__ABOUT?></span></a>
		
		
	</div>
	<div id="lefticons">
		
		<a class="icon price" href="<?=HTML_BASE.$_SESSION['lang']?>/prices"><span><?=__PRICE_PHOTO?></span></a>
		<a class="icon contacts" href="<?=HTML_BASE.$_SESSION['lang']?>/contacts"><span><?=__CONTACTS?></span></a>
        
        <a class="icon fearless" href="http://www.fearlessphotographers.com/"><span><?=__MEMBER_OF?></span></a>
		
	</div>
    
	
    <div id="pagecontent">
		
			<div id="contentimg">
				<img src="<?=HTML_BASE?>photographers/<?=$row->image?>" title="<?=__PHOTOGRAPHER.' '.$row->title?>" alt="<?=__PHOTOGRAPHER.' '.$row->title?>">
			</div>
			
			<div id="contenttext">
            	<h1><?=__PHOTOGRAPHER.' '.stripslashes($row->title)?></h1>
				<?=stripslashes($row->description)?>
			</div>
		
	</div>
  
		
		
	
<?php

foot();
?>